/*
+--------------------------------------------------------------------------+
| PROJECT : PROTOCOL STACK                                                 |
| FILE    : p_8010_127_sim_sap.val                                         |
| SOURCE  : "..\build\Hogwarts\LPR0\obj\cdginc\CSSD_PS\dev\ps_share\sap\8010_127_sim_sap.pdf"                    |
| LastModified : "2007-05-14"                                              |
| IdAndVersion : "8010.127.07.035"                                         |
| SrcFileTime  : "Tue Nov 20 10:55:04 2007"                                |
| Generated by CCDGEN_2.7.6 on Tue Jun 24 19:44:36 2008                    |
|           !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!!                |
+--------------------------------------------------------------------------+
*/

/* PRAGMAS
 * PREFIX                 : SIM
 * COMPATIBILITY_DEFINES  : NO
 * ALWAYS_ENUM_IN_VAL_FILE: YES
 * ENABLE_GROUP: NO
 * CAPITALIZE_TYPENAME: NO
 */


#ifndef P_8010_127_SIM_SAP_VAL
#define P_8010_127_SIM_SAP_VAL


#define CDG_ENTER__P_8010_127_SIM_SAP_VAL

#define CDG_ENTER__FILENAME _P_8010_127_SIM_SAP_VAL
#define CDG_ENTER__P_8010_127_SIM_SAP_VAL__FILE_TYPE CDGINC
#define CDG_ENTER__P_8010_127_SIM_SAP_VAL__LAST_MODIFIED _2007_05_14
#define CDG_ENTER__P_8010_127_SIM_SAP_VAL__ID_AND_VERSION _8010_127_07_035

#define CDG_ENTER__P_8010_127_SIM_SAP_VAL__SRC_FILE_TIME _Tue_Nov_20_10_55_04_2007

// #include "CDG_ENTER.h"

#undef CDG_ENTER__P_8010_127_SIM_SAP_VAL

#undef CDG_ENTER__FILENAME

#include "tapi_p_8010_153_cause_include_val.h"   /* Access values independent from the corresponding h-file. */

#include "tapi_p_8010_152_ps_include_val.h"   /* Access values independent from the corresponding h-file. */

/* #include "p_8010_98_iansim_sap.val" */   /* Access values independent from the corresponding h-file. */


/*
 * Enum to value table VAL_access_acm
 * CCDGEN:WriteEnum_Count==1097
 */
#ifndef __T_SIM_VAL_access_acm__
#define __T_SIM_VAL_access_acm__
typedef enum
{
  SIM_ACCESS_ALWAYS              = 0x0,           /* No PIN is needed               */
  SIM_ACCESS_PIN_1               = 0x1,           /* PIN 1 is needed                */
  SIM_ACCESS_PIN_2               = 0x2            /* PIN 2 is needed                */
}T_SIM_VAL_access_acm;
#endif

/*
 * Enum to value table VAL_proc
 * CCDGEN:WriteEnum_Count==1098
 */
#ifndef __T_SIM_VAL_proc__
#define __T_SIM_VAL_proc__
typedef enum
{
  SIM_INITIALISATION             = 0x0,           /* initialisation                 */
  SIM_FDN_ENABLE                 = 0x1,           /* FDN enabling                   */
  SIM_FDN_DISABLE                = 0x2,           /* FDN disabling                  */
  SIM_BDN_ENABLE                 = 0x3,           /* BDN enabling                   */
  SIM_BDN_DISABLE                = 0x4            /* BDN disabling                  */
}T_SIM_VAL_proc;
#endif

/*
 * Enum to value table VAL_card_gen
 * CCDGEN:WriteEnum_Count==1099
 */
#ifndef __T_SIM_VAL_card_gen__
#define __T_SIM_VAL_card_gen__
typedef enum
{
  SIM_GSM_SIM                    = 0x0,           /* GSM SIM plugged in             */
  SIM_UMTS_SIM                   = 0x1            /* UMTS SIM plugged in            */
}T_SIM_VAL_card_gen;
#endif

/*
 * Enum to value table VAL_cn_domain
 * CCDGEN:WriteEnum_Count==1100
 */
#ifndef __T_SIM_VAL_cn_domain__
#define __T_SIM_VAL_cn_domain__
typedef enum
{
  SIM_CS_DOMAIN                  = 0x0,           /* MM Information or action related to CS Domain */
  SIM_PS_DOMAIN                  = 0x1            /* MM Information or action related to PS Domain */
}T_SIM_VAL_cn_domain;
#endif

/*
 * Enum to value table VAL_datafield
 * CCDGEN:WriteEnum_Count==1101
 */
#ifndef __T_SIM_VAL_datafield__
#define __T_SIM_VAL_datafield__
typedef enum
{
  SIM_MF                         = 0x3f00,        /* main file directory (M)        */
  SIM_ICCID                      = 0x2fe2,        /* ICC identification (M)         */
  SIM_ELP                        = 0x2f05,        /* extended language preference   */
  SIM_DF_TELECOM                 = 0x7f10,        /* telecom directory              */
  SIM_DF_VI                      = 0x7f43,        /* Viag directory                 */
  SIM_ADN                        = 0x6f3a,        /* abbreviated dialling numbers   */
  SIM_FDN                        = 0x6f3b,        /* fixed dialling numbers         */
  SIM_SMS                        = 0x6f3c,        /* short messages                 */
  SIM_CCP                        = 0x6f3d,        /* capability configuration parameters */
  SIM_MSISDN                     = 0x6f40,        /* MSISDN                         */
  SIM_SMSP                       = 0x6f42,        /* short message service parameters */
  SIM_SMSS                       = 0x6f43,        /* short message status           */
  SIM_LND                        = 0x6f44,        /* last number dialled            */
  SIM_SMSR                       = 0x6f47,        /* short message status reports   */
  SIM_SDN                        = 0x6f49,        /* service dialling numbers       */
  SIM_EXT1                       = 0x6f4a,        /* extension 1                    */
  SIM_EXT2                       = 0x6f4b,        /* extension 2                    */
  SIM_EXT3                       = 0x6f4c,        /* extension 3                    */
  SIM_BDN                        = 0x6f4d,        /* barred dialling numbers        */
  SIM_EXT4                       = 0x6f4e,        /* extension 4                    */
  SIM_DF_GRAPHICS                = 0x5f50,        /* icon graphics directory (subdirectory of 'telecom') */
  SIM_IMG                        = 0x4f20,        /* icon images                    */
  SIM_DF_GSM                     = 0x7f20,        /* gsm directory (M)              */
  SIM_DF_1800                    = 0x7f21,        /* dcs 1800 directory             */
  SIM_LP                         = 0x6f05,        /* language preference (M)        */
  SIM_IMSI                       = 0x6f07,        /* international mobile subscriber identity (M) */
  SIM_GSM_KC                     = 0x6f20,        /* ciphering key Kc (M) on a GSM SIM */
  SIM_DCK                        = 0x6f2c,        /* De-personalization Control Keys */
  SIM_PLMNSEL                    = 0x6f30,        /* preferred PLMN selector        */
  SIM_HPLMN                      = 0x6f31,        /* HPLMN search period (M)        */
  SIM_CNL                        = 0x6f32,        /* Co-operative Network List      */
  SIM_ACMMAX                     = 0x6f37,        /* ACM maximum value              */
  SIM_SST                        = 0x6f38,        /* SIM service table (M)          */
  SIM_ACM                        = 0x6f39,        /* accumulated call meter         */
  SIM_GID1                       = 0x6f3e,        /* group identifier level 1       */
  SIM_GID2                       = 0x6f3f,        /* group identifier level 2       */
  SIM_PUCT                       = 0x6f41,        /* price per unit and currency    */
  SIM_CBMI                       = 0x6f45,        /* cell broadcast message identifier selection */
  SIM_SPN                        = 0x6f46,        /* service provider name          */
  SIM_CBMID                      = 0x6f48,        /* cell broadcast message identifier for data download */
  SIM_BCCH                       = 0x6f74,        /* broadcast control channels (M) */
  SIM_ACC                        = 0x6f78,        /* access control classes (M)     */
  SIM_FPLMN                      = 0x6f7b,        /* forbidden PLMNs (M)            */
  SIM_LOCI                       = 0x6f7e,        /* location information (M)       */
  SIM_AD                         = 0x6fad,        /* administrative data (M)        */
  SIM_PHASE                      = 0x6fae,        /* phase identification (M)       */
  SIM_VGCS                       = 0x6fb1,        /* voice group call service       */
  SIM_VGCSS                      = 0x6fb2,        /* voice group call service status */
  SIM_VBS                        = 0x6fb3,        /* voice broadcast service        */
  SIM_VBSS                       = 0x6fb4,        /* voice broadcast service status */
  SIM_EMLPP                      = 0x6fb5,        /* enhanced multi level pre-emption and priority */
  SIM_AAEM                       = 0x6fb6,        /* automatic answer for eMLPP service */
  SIM_ECC                        = 0x6fb7,        /* emergency call codes           */
  SIM_CBMIR                      = 0x6f50,        /* cell broadcast message identifier range selection */
  SIM_NIA                        = 0x6f51,        /* network's indication of alerting */
  SIM_GPRS_KC                    = 0x6f52,        /* ciphering key (GPRS) on a GSM SIM */
  SIM_LOCGPRS                    = 0x6f53,        /* location information (GPRS)    */
  SIM_SUME                       = 0x6f54,        /* setup menu elements            */
  SIM_PLMNwACT                   = 0x6f60,        /* User controlled PLMN Selector with Access Technology */
  SIM_OPLMNwACT                  = 0x6f61,        /* Operator controlled PLMN Selector with Access Technology */
  SIM_HPLMNWACT                  = 0x6f62,        /* HPLMN Selector with Access Technology */
  SIM_CPHS_VMW                   = 0x6f11,        /* voice message waiting (CPHS)   */
  SIM_CPHS_SST                   = 0x6f12,        /* service string table (CPHS)    */
  SIM_CPHS_CFF                   = 0x6f13,        /* call forwarding flags (CPHS)   */
  SIM_CPHS_ONSTR                 = 0x6f14,        /* operator string name (CPHS)    */
  SIM_CPHS_CSP                   = 0x6f15,        /* customer service profile (CPHS) */
  SIM_CPHS_CINF                  = 0x6f16,        /* CPHS information (CPHS)        */
  SIM_CPHS_MBXN                  = 0x6f17,        /* mailbox numbers (CPHS)         */
  SIM_CPHS_ONSHF                 = 0x6f18,        /* operator name shortform (CPHS) */
  SIM_CPHS_INFN                  = 0x6f19,        /* information numbers (CPHS)     */
  SIM_DF_SOLSA                   = 0x5f70,        /* SoLSA directory (subdirectory of 'gsm') */
  SIM_SAI                        = 0x4f30,        /* SoLSA access indicator         */
  SIM_SLL                        = 0x4f31,        /* SoLSA LSA list                 */
  SIM_CPHS_INFN2                 = 0xea01,        /* information numbers (CPHS) 2 (old SIMs) */
  SIM_GSMACCESS                  = 0x5f3b,        /* GSM Access dedicated file      */
  SIM_DF_MEXE                    = 0x5f3c,        /* MexE directory                 */
  SIM_PHONEBOOK                  = 0x5f3a,        /* Phone book directory           */
  SIM_DIR                        = 0x2f00,        /* Application Identifier and Application Label (UM) */
  SIM_ARR                        = 0x6f06,        /* Access Rule Reference          */
  SIM_KEYS_CS                    = 0x6f08,        /* Ciphering and Integrity Keys   */
  SIM_KEYS_PS                    = 0x6f09,        /* Ciphering and Integrity Keys for Packet Switched domain */
  SIM_UMTS_EXT4                  = 0x6f55,        /* Extension 4 elementary file (changed adress -> UMTS) */
  SIM_EST                        = 0x6f56,        /* Enabled Services Table         */
  SIM_ACL                        = 0x6f57,        /* Access Point Name Control List */
  SIM_THRESHOLD                  = 0x6f5c,        /* Maximum value of START         */
  SIM_STARTHFN                   = 0x6f5b,        /* Initialisation values for Hyperframe number */
  SIM_PSLOCI                     = 0x6f73,        /* Packet Switched location information */
  SIM_ICI                        = 0x6f80,        /* Incoming Call Information      */
  SIM_OCI                        = 0x6f81,        /* Outgoing Call Information      */
  SIM_ICT                        = 0x6f82,        /* Incoming Call Timer            */
  SIM_OCT                        = 0x6f83,        /* Outgoing Call Timer            */
  SIM_HIDDENKEY                  = 0x6fc3,        /* Key for hidden phone book entries */
  SIM_NETPAR                     = 0x6fc4,        /* Network Parameters             */
  SIM_UMTS_GSM_KC                = 0x4f20,        /* GSM ciphering key in a UMTS SIM application */
  SIM_UMTS_GPRS_KC               = 0x4f52,        /* GPRS ciphering key in a UMTS SIM application */
  SIM_PBR                        = 0x4f30,        /* Phone Book Reference File      */
  SIM_PSC                        = 0x4f22,        /* Phone Book Synchronisation Counter */
  SIM_CC                         = 0x4f23,        /* Change Counter                 */
  SIM_PUID                       = 0x4f24,        /* Previous unique Identifier of Phone Book Entry */
  SIM_ADF                        = 0xa087,        /* Internal ID for the USIM ADF (middle three 0x00 removed from RID) */
  SIM_PNN                        = 0x6fc5,        /* PLMN network name (3GPP release 4) */
  SIM_OPL                        = 0x6fc6,        /* Operator PLMN List (3GPP Release 4) */
  SIM_VI_HZ_PARAM                = 0x6f60,        /* Viag home zone parameters      */
  SIM_VI_HZ_CACHE_1              = 0x6f61,        /* Viag home zone Cache 1         */
  SIM_VI_HZ_CACHE_2              = 0x6f62,        /* Viag home zone Cache 2         */
  SIM_VI_HZ_CACHE_3              = 0x6f63,        /* Viag home zone Cache 3         */
  SIM_VI_HZ_CACHE_4              = 0x6f64,        /* Viag home zone Cache 4         */
  SIM_MBDN                       = 0x6fc7,        /* Mailbox Dialling Numbers       */
  SIM_EXT6                       = 0x6fc8,        /* Extension 6                    */
  SIM_MBI                        = 0x6fc9,        /* Mailbox Identifier             */
  SIM_MWIS                       = 0x6fca,        /* Message Waiting Indication Status */
  SIM_CFIS                       = 0x6fcb,        /* Call Forwarding Indication Status */
  SIM_EXT7                       = 0x6fcc,        /* Extension 7                    */
  SIM_SPDI                       = 0x6fcd,        /* Service Provider Display Information */
  SIM_MMSN                       = 0x6fce,        /* MMS Notification               */
  SIM_EXT8                       = 0x6fcf,        /* Extension 8                    */
  SIM_MMSICP                     = 0x6fd0,        /* MMS Issuer Connectivity Parameters */
  SIM_MMSUP                      = 0x6fd1,        /* MMS User Preferences           */
  SIM_MMSUCP                     = 0x6fd2,        /* MMS User Connectivity Parameters */
  SIM_TPRPK                      = 0x4f43,        /* Third Party Root Public key    */
  SIM_ARPK                       = 0x4f42,        /* Administrator Root Public Key  */
  SIM_ORPK                       = 0x4f41,        /* Operator Root Public Key       */
  SIM_MEXE_ST                    = 0x4f40,        /* MExE Service table             */
  SIM_DF_CING                    = 0x7f66,        /* Cingular First Level Dedicated File */
  SIM_DF2_CING                   = 0x5f30,        /* Cingular Second Level Dedicated File */
  SIM_TERM_SUPP_TBL              = 0x6fd2,        /* Terminal Support Table         */
  SIM_ACT_HPLMN                  = 0x4f34,        /* Cingular Acting Home PLMN      */
  SIM_CPP2                       = 0x6f4f,        /* Capability configuration parameters 2 */
  SIM_CMI                        = 0x6f58,        /* Comparison method information  */
  SIM_UNIA                       = 0x6fd3,        /* Networks indication of alerting (NIA) */
  SIM_EXT5                       = 0x6f4e         /* Extension 5                    */
}T_SIM_VAL_datafield;
#endif

/*
 * Enum to value table VAL_download_sms
 * CCDGEN:WriteEnum_Count==1102
 */
#ifndef __T_SIM_VAL_download_sms__
#define __T_SIM_VAL_download_sms__
typedef enum
{
  SIM_DOWNLOAD_SMS_NO            = 0x0,           /* No support of download SMS     */
  SIM_DOWNLOAD_SMS_YES           = 0x1            /* Support of download SMS        */
}T_SIM_VAL_download_sms;
#endif

/*
 * Enum to value table VAL_mnc_ln
 * CCDGEN:WriteEnum_Count==1103
 */
#ifndef __T_SIM_VAL_mnc_ln__
#define __T_SIM_VAL_mnc_ln__
typedef enum
{
  SIM_VAL_MNC_LN___2             = 0x2,           /* Length of MNC is two           */
  SIM_VAL_MNC_LN___3             = 0x3            /* Length of MNC is three         */
}T_SIM_VAL_mnc_ln;
#endif

/*
 * Enum to value table VAL_me_mode
 * CCDGEN:WriteEnum_Count==1104
 */
#ifndef __T_SIM_VAL_me_mode__
#define __T_SIM_VAL_me_mode__
typedef enum
{
  SIM_GSM_ME_ONLY                = 0x0,           /* Protocol stack activated as GSM only */
  SIM_UMTS_ME_ONLY               = 0x1,           /* Protocol stack activated as UMTS only */
  SIM_DUAL_MODE_ME               = 0x2            /* Protocol stack activated as dual mode */
}T_SIM_VAL_me_mode;
#endif

/*
 * Enum to value table VAL_mem_cap_avail
 * CCDGEN:WriteEnum_Count==1105
 */
#ifndef __T_SIM_VAL_mem_cap_avail__
#define __T_SIM_VAL_mem_cap_avail__
typedef enum
{
  SIM_SMS_MEM_FULL               = 0x0,           /* SMS storage on SIM execeeded   */
  SIM_SMS_MEM_AVAIL              = 0x1,           /* SMS storage on SIM available   */
  SIM_SMS_NO_MEM                 = 0xff           /* SMS storage on SIM not present */
}T_SIM_VAL_mem_cap_avail;
#endif

/*
 * Enum to value table VAL_mmi_pro_file
 * CCDGEN:WriteEnum_Count==1106
 */
#ifndef __T_SIM_VAL_mmi_pro_file__
#define __T_SIM_VAL_mmi_pro_file__
typedef enum
{
  SIM_MMI_ADN                    = 0x80,          /* MMI ADN support, if set        */
  SIM_MMI_FDN                    = 0x40,          /* MMI FDN support, if set        */
  SIM_MMI_BDN                    = 0x20           /* MMI BDN support, if set        */
}T_SIM_VAL_mmi_pro_file;
#endif

/*
 * Enum to value table VAL_op_mode
 * CCDGEN:WriteEnum_Count==1107
 */
#ifndef __T_SIM_VAL_op_mode__
#define __T_SIM_VAL_op_mode__
typedef enum
{
  SIM_OP_NORMAL_SIM              = 0x0,           /* normal SIM card                */
  SIM_OP_TEST_SIM                = 0x1            /* test SIM card                  */
}T_SIM_VAL_op_mode;
#endif

/*
 * Enum to value table VAL_phase
 * CCDGEN:WriteEnum_Count==1108
 */
#ifndef __T_SIM_VAL_phase__
#define __T_SIM_VAL_phase__
typedef enum
{
  SIM_PHASE_2_AS_1_SIM           = 0x0,           /* phase 2 card configured as phase 1 card */
  SIM_PHASE_1_SIM                = 0x1,           /* phase 1 card                   */
  SIM_PHASE_2_SIM                = 0x2,           /* phase 2 card                   */
  SIM_PHASE_2PLUS_SIM            = 0x3            /* phase 2+ card, TP download required */
}T_SIM_VAL_phase;
#endif

/*
 * Enum to value table VAL_pin_cnt
 * CCDGEN:WriteEnum_Count==1109
 */
#ifndef __T_SIM_VAL_pin_cnt__
#define __T_SIM_VAL_pin_cnt__
typedef enum
{
  SIM_CARD_BLOCKED               = 0x0            /* SIM card is blocked            */
}T_SIM_VAL_pin_cnt;
#endif

/*
 * Enum to value table VAL_fu_rsc
 * CCDGEN:WriteEnum_Count==1110
 */
#ifndef __T_SIM_VAL_fu_rsc__
#define __T_SIM_VAL_fu_rsc__
typedef enum
{
  SIM_FU_ERROR                   = 0x0,           /* ME is unable to perform the command (SAT result = 20) */
  SIM_FU_SUCCESS                 = 0x1,           /* file update is performed successfully (SAT result = 0) */
  SIM_FU_SUCC_ADD                = 0x2            /* file update is performed with additional files read (SAT result = 3) */
}T_SIM_VAL_fu_rsc;
#endif

/*
 * Enum to value table VAL_context
 * CCDGEN:WriteEnum_Count==1111
 */
#ifndef __T_SIM_VAL_context__
#define __T_SIM_VAL_context__
typedef enum
{
  SIM_GSM_SECURITY_CONTEXT       = 0x80,          /* Authentication in GSM security context */
  SIM_UMTS_SECURITY_CONTEXT      = 0x81           /* Authentication in UMTSsecurity context */
}T_SIM_VAL_context;
#endif

/*
 * Enum to value table VAL_func
 * CCDGEN:WriteEnum_Count==1112
 */
#ifndef __T_SIM_VAL_func__
#define __T_SIM_VAL_func__
typedef enum
{
  SIM_NO_OPERATION               = 0x0,           /* card is invalid                */
  SIM_ADN_ENABLED                = 0x1,           /* normal GSM operation, ADN enabled */
  SIM_FDN_ENABLED                = 0x2,           /* restricted GSM operation, FDN enabled */
  SIM_ADN_BDN_ENABLED            = 0x5,           /* normal GSM operation, ADN and BDN enabled */
  SIM_FDN_BDN_ENABLED            = 0x6            /* restricted GSM operation, FDN and BDN enabled */
}T_SIM_VAL_func;
#endif

/*
 * Enum to value table VAL_sim_command
 * CCDGEN:WriteEnum_Count==1113
 */
#ifndef __T_SIM_VAL_sim_command__
#define __T_SIM_VAL_sim_command__
typedef enum
{
  SIM_TRANSP_CMD                 = 0x0,           /* Transparent SIM Command        */
  SIM_READ_BINARY                = 0xb0,          /* Read Binary Command            */
  SIM_READ_RECORD                = 0xb2,          /* Read Record Command            */
  SIM_UPDATE_BINARY              = 0xd6,          /* Update Binary Command          */
  SIM_UPDATE_RECORD              = 0xdc,          /* Update Record Command          */
  SIM_STATUS                     = 0xf2,          /* Status Command                 */
  SIM_GET_RESPONSE               = 0xc0           /* Get Response Command           */
}T_SIM_VAL_sim_command;
#endif

/*
 * Enum to value table VAL_stk_pro_file
 * CCDGEN:WriteEnum_Count==1114
 */
#ifndef __T_SIM_VAL_stk_pro_file__
#define __T_SIM_VAL_stk_pro_file__
typedef enum
{
  SIM_SAT_TP1_PRF_DNL            = 0x1,           /* Profile download (redundant definition) */
  SIM_SAT_TP1_SMS_DNL            = 0x2,           /* SMS-PP data download           */
  SIM_SAT_TP1_CB_DNL             = 0x4,           /* Cell Broadcast data download   */
  SIM_SAT_TP1_MENU_SEL           = 0x8,           /* Menu selection                 */
  SIM_SAT_TP1_9E_XX              = 0x10,          /* '9E XX' response code for SIM data download error */
  SIM_SAT_TP1_TIMER_EXP          = 0x20,          /* Timer expiration (Class 3)     */
  SIM_SAT_TP1_CC_USSD            = 0x40,          /* USSD string data object supported in Call Control */
  SIM_SAT_TP1_CC_ON_REDIAL       = 0x80,          /* Call Control by SIM always performed on automatic redial */
  SIM_SAT_TP2_CMD_RES            = 0x1,           /* Command result (generic)       */
  SIM_SAT_TP2_CC                 = 0x2,           /* Call Control by SIM            */
  SIM_SAT_TP2_CC_CELL_ID         = 0x4,           /* Cell Identity included in Call Control by SIM */
  SIM_SAT_TP2_MOSMC              = 0x8,           /* MO SM Control by SIM (Class 3) */
  SIM_SAT_TP2_ALPHA_ID           = 0x10,          /* Alpha identifier according to clause 9 */
  SIM_SAT_TP2_UCS2_ENTRY         = 0x20,          /* UCS2 entry supported           */
  SIM_SAT_TP2_UCS2_DSPL          = 0x40,          /* UCS2 display supported         */
  SIM_SAT_TP2_DSPL_EXT           = 0x80,          /* extended display length supported (Class 3) */
  SIM_SAT_TP3_DSPL_TXT           = 0x1,           /* Proactive SIM: Display Text    */
  SIM_SAT_TP3_GET_INKEY          = 0x2,           /* Proactive SIM: Get Inkey       */
  SIM_SAT_TP3_GET_INPUT          = 0x4,           /* Proactive SIM: Get Input       */
  SIM_SAT_TP3_MORE_TIME          = 0x8,           /* Proactive SIM: More Time       */
  SIM_SAT_TP3_PLAY_TONE          = 0x10,          /* Proactive SIM: Play Tone       */
  SIM_SAT_TP3_POLL_ITV           = 0x20,          /* Proactive SIM: Poll Interval   */
  SIM_SAT_TP3_POLL_OFF           = 0x40,          /* Proactive SIM: Polling Off     */
  SIM_SAT_TP3_REFRESH            = 0x80,          /* Proactive SIM: Refresh         */
  SIM_SAT_TP4_SEL_ITEM           = 0x1,           /* Proactive SIM: Select Item     */
  SIM_SAT_TP4_SEND_SMS           = 0x2,           /* Proactive SIM: Send SM         */
  SIM_SAT_TP4_SEND_SS            = 0x4,           /* Proactive SIM: Send SS         */
  SIM_SAT_TP4_SEND_USSD          = 0x8,           /* Proactive SIM: Send USSD (Class 3) */
  SIM_SAT_TP4_SETUP_CALL         = 0x10,          /* Proactive SIM: Set up Call     */
  SIM_SAT_TP4_SETUP_MENU         = 0x20,          /* Proactive SIM: Set up Menu     */
  SIM_SAT_TP4_PLI_PLMN_IMEI      = 0x40,          /* Proactive SIM: Provide Local Informaton (PLMN, Cell ID, IMEI) */
  SIM_SAT_TP4_PLI_NMR            = 0x80,          /* Proactive SIM: Provide Local Informaton (NMR) */
  SIM_SAT_TP5_EVENT_LIST         = 0x1,           /* Proactive SIM: Set up Event List (Class 3) */
  SIM_SAT_TP5_MT_CALL            = 0x2,           /* Event: Moblile Terminated Call (Class 3) */
  SIM_SAT_TP5_CALL_CONN          = 0x4,           /* Event: Call connected (Class 3) */
  SIM_SAT_TP5_CALL_DISC          = 0x8,           /* Event: Call disconnected (Class 3) */
  SIM_SAT_TP5_LOC_STATUS         = 0x10,          /* Event: Location status (Class 3) */
  SIM_SAT_TP5_USER_ACT           = 0x20,          /* Event: User activity (Class 3) */
  SIM_SAT_TP5_SCR_AVAIL          = 0x40,          /* Event: Idle screen available (Class 3) */
  SIM_SAT_TP5_CDR_STATUS         = 0x80,          /* Event: Card reader status (Class a) */
  SIM_SAT_TP6_LANG_SEL           = 0x1,           /* Event: Language Selection (Class 3) */
  SIM_SAT_TP6_BROWS_TERM         = 0x2,           /* Event: Browser Termination (Class c) */
  SIM_SAT_TP6_DATA_AVAIL         = 0x4,           /* Event: Data available (Class e) */
  SIM_SAT_TP6_CHANNEL_STAT       = 0x8,           /* Event: Channel status (Class e) */
  SIM_SAT_TP6_ACT_CHNG           = 0x10,          /* Event: Access Technology Change */
  SIM_SAT_TP7_PW_ON_CD           = 0x1,           /* Proactive SIM: Power on Card (Class a) */
  SIM_SAT_TP7_PW_OFF_CD          = 0x2,           /* Proactive SIM: Power off Card (Class a) */
  SIM_SAT_TP7_PF_CD_ADPU         = 0x4,           /* Proactive SIM: Perform Card ADPU (Class a) */
  SIM_SAT_TP7_GET_CDR_STATUS     = 0x8,           /* Proactive SIM: Get Reader Status (Class a) */
  SIM_SAT_TP8_TMNG_ST            = 0x1,           /* Proactive SIM: Timer Management (start, stop) (Class 3) */
  SIM_SAT_TP8_TMNG_VAL           = 0x2,           /* Proactive SIM: Timer Management (get current value) (Class 3) */
  SIM_SAT_TP8_PLI_DTT            = 0x4,           /* Proactive SIM: Provide Local Information (date, time, tz) (Class 3) */
  SIM_SAT_TP8_BIN_GET_INKEY      = 0x8,           /* Binary choice in Get Inkey (Class 3) */
  SIM_SAT_TP8_IDLE_TXT           = 0x10,          /* Proactive SIM: Set up Idle Mode Text (Class 3) */
  SIM_SAT_TP8_AT_CMD             = 0x20,          /* Proactive SIM: Run AT command (Class b) */
  SIM_SAT_TP8_AI2_SETUP_CALL     = 0x40,          /* 2nd alpha identifier in Set up Call (Class 3) */
  SIM_SAT_TP8_CCP2_CC            = 0x80,          /* 2nd capability configuration parameter with Call Control (Class 3) */
  SIM_SAT_TP9_SUST_DSPL_TXT      = 0x1,           /* Sustained Display Text (Class 3) */
  SIM_SAT_TP9_DTMF_CMD           = 0x2,           /* Send DTMF Command (Class 3)    */
  SIM_SAT_TP9_BCCH_COD           = 0x4,           /* BCCH coding according to subclause 12.19 (Class 3) */
  SIM_SAT_TP9_PLI_LANG           = 0x8,           /* Proactive SIM: Provide Local Information (Language) (Rel. 99) */
  SIM_SAT_TP9_PLI_TIMING_ADV     = 0x10,          /* Proactive SIM: Provide Local Information (Timing Adv ance) (Rel. 99) */
  SIM_SAT_TP9_PLI_ACT            = 0x80,          /* Proactive SIM: PROVIDE LOCAL INFORMATION (Access Technology) */
  SIM_SAT_TP9_LANG_NOTIFY        = 0x20,          /* Proactive SIM: Language Notification (Class 3) */
  SIM_SAT_TP9_LAUNCH_BROWSER     = 0x40,          /* Proactive SIM: Launch Browser (Class c) */
  SIM_SAT_TP10_SFTKEY_SEL_ITEM   = 0x1,           /* Soft key support for SELECT ITEM */
  SIM_SAT_TP10_SFTKEY_SETUP_MENU = 0x2,           /* Soft key support for SET UP MENU */
  SIM_SAT_TP11_MAX_NR_SFTKEY     = 0xff,          /* Maximum number of soft keys available */
  SIM_SAT_TP12_OPEN_CHANNEL      = 0x1,           /* Proactive SIM: OPEN CHANNEL (Class e) */
  SIM_SAT_TP12_CLOSE_CHANNEL     = 0x2,           /* Proactive SIM: CLOSE CHANNEL (Class e) */
  SIM_SAT_TP12_RECEIVE_DATA      = 0x4,           /* Proactive SIM: RECEIVE DATA (Class e) */
  SIM_SAT_TP12_SEND_DATA         = 0x8,           /* Proactive SIM: SEND DATA (Class e) */
  SIM_SAT_TP12_GET_CHANNEL_STAT  = 0x10,          /* Proactive SIM: GET CHANNEL STATUS (Class e) */
  SIM_SAT_TP13_CSD_SUPP_BY_ME    = 0x1,           /* CSD supported by ME (Class e)  */
  SIM_SAT_TP13_GPRS_SUPP_BY_ME   = 0x2,           /* GPRS supported by ME (Class e) */
  SIM_SAT_TP13_NR_OF_CHAN_SUPP   = 0xe0,          /* Number of channels supported by ME (Class e) */
  SIM_SAT_TP14_NR_OF_CHAR_DSPL_DWN = 0x1f,        /* Number of characters supported down the ME display */
  SIM_SAT_TP14_SCRN_SIZE_PARAM   = 0x80,          /* Screen sizing parameters supported by ME */
  SIM_SAT_TP15_NR_OF_CHAR_DSPL_ACRS = 0x7f,       /* Number of characters supported across the ME display */
  SIM_SAT_TP15_VAR_SIZE_FONT     = 0x80,          /* Variable size fonts supported  */
  SIM_SAT_TP16_DSPL_RESIZE       = 0x1,           /* Display can be resized         */
  SIM_SAT_TP16_TEXT_WRAP         = 0x2,           /* Text wrapping supported        */
  SIM_SAT_TP16_TEXT_SCROLL       = 0x4,           /* Text scrolling supported       */
  SIM_SAT_TP16_WIDTH_RDCT_MENU   = 0xe0,          /* Width reduction when in Menu   */
  SIM_SAT_TP17_BEARER_IND_SUPP_TCP = 0x1,         /* Bearer independent protocol supported TCP (Class e) */
  SIM_SAT_TP17_BEARER_IND_SUPP_UDP = 0x2,         /* Bearer independent protocol supported UPD (Class e) */
  SIM_SAT_TP19_PROT_VERS         = 0xf            /* Protocol version coded as TIA/EIA 136-123 */
}T_SIM_VAL_stk_pro_file;
#endif

/*
 * Enum to value table VAL_umts_stk_pro_file
 * CCDGEN:WriteEnum_Count==1115
 */
#ifndef __T_SIM_VAL_umts_stk_pro_file__
#define __T_SIM_VAL_umts_stk_pro_file__
typedef enum
{
  SIM_USAT_TP1_PRF_DNL           = 0x1,           /* Profile download (redundant definition) */
  SIM_USAT_TP1_SMS_DNL           = 0x2,           /* SMS-PP data download           */
  SIM_USAT_TP1_CB_DNL            = 0x4,           /* Cell Broadcast data download   */
  SIM_USAT_TP1_MENU_SEL          = 0x8,           /* Menu selection                 */
  SIM_USAT_TP1_SMS_PP_DNL        = 0x10,          /* Bit = 1 if SMS-PP data download is supported */
  SIM_USAT_TP1_TIMER_EXP         = 0x20,          /* Timer expiration (Class 3)     */
  SIM_USAT_TP1_CC_USSD           = 0x40,          /* USSD string data object supported in Call Control */
  SIM_USAT_TP1_CC_SIM            = 0x80,          /* Bit = 1 if Call Control by USIM is supported  */
  SIM_USAT_TP2_CMD_RES           = 0x1,           /* Command result (generic)       */
  SIM_USAT_TP2_CC                = 0x2,           /* Call Control by USIM           */
  SIM_USAT_TP2_CC_SUPP           = 0x4,           /* Bit = 1 if Call Control by USIM is supported */
  SIM_USAT_TP2_MOSMC             = 0x8,           /* MO short message control by USIM  */
  SIM_USAT_TP2_CC_SUPP2          = 0x10,          /* Bit = 1 if Call Control by USIM is supported */
  SIM_USAT_TP2_UCS2_ENTRY        = 0x20,          /* UCS2 entry supported           */
  SIM_USAT_TP2_UCS2_DSPL         = 0x40,          /* UCS2 display supported         */
  SIM_USAT_TP2_DSPL_TXT_SUPP     = 0x80,          /* Bit = 1 if Display Text is supported */
  SIM_USAT_TP3_DSPL_TXT          = 0x1,           /* Proactive UICC: Display Text   */
  SIM_USAT_TP3_GET_INKEY         = 0x2,           /* Proactive UICC: Get Inkey      */
  SIM_USAT_TP3_GET_INPUT         = 0x4,           /* Proactive UICC: Get Input      */
  SIM_USAT_TP3_MORE_TIME         = 0x8,           /* Proactive UICC: More Time      */
  SIM_USAT_TP3_PLAY_TONE         = 0x10,          /* Proactive UICC: Play Tone      */
  SIM_USAT_TP3_POLL_ITV          = 0x20,          /* Proactive UICC: Poll Interval  */
  SIM_USAT_TP3_POLL_OFF          = 0x40,          /* Proactive UICC: Polling Off    */
  SIM_USAT_TP3_REFRESH           = 0x80,          /* Proactive UICC: Refresh        */
  SIM_USAT_TP4_SEL_ITEM          = 0x1,           /* Proactive UICC: Select Item    */
  SIM_USAT_TP4_SEND_SMS          = 0x2,           /* Proactive UICC: Send SM        */
  SIM_USAT_TP4_SEND_SS           = 0x4,           /* Proactive UICC: Send SS        */
  SIM_USAT_TP4_SEND_USSD         = 0x8,           /* Proactive UICC: Send USSD (Class 3) */
  SIM_USAT_TP4_SETUP_CALL        = 0x10,          /* Proactive UICC: Set up Call    */
  SIM_USAT_TP4_SETUP_MENU        = 0x20,          /* Proactive UICC: Set up Menu    */
  SIM_USAT_TP4_PLI_PLMN_IMEI     = 0x40,          /* Proactive UICC: Provide Local Informaton (PLMN, Cell ID, IMEI) */
  SIM_USAT_TP4_PLI_NMR           = 0x80,          /* Proactive UICC: Provide Local Informaton (NMR) */
  SIM_USAT_TP5_EVENT_LIST        = 0x1,           /* Proactive UICC: Set up Event List (Class 3) */
  SIM_USAT_TP5_MT_CALL           = 0x2,           /* Event: Moblile Terminated Call (Class 3) */
  SIM_USAT_TP5_CALL_CONN         = 0x4,           /* Event: Call connected (Class 3) */
  SIM_USAT_TP5_CALL_DISC         = 0x8,           /* Event: Call disconnected (Class 3) */
  SIM_USAT_TP5_LOC_STATUS        = 0x10,          /* Event: Location status (Class 3) */
  SIM_USAT_TP5_USER_ACT          = 0x20,          /* Event: User activity (Class 3) */
  SIM_USAT_TP5_SCR_AVAIL         = 0x40,          /* Event: Idle screen available (Class 3) */
  SIM_USAT_TP5_CDR_STATUS        = 0x80,          /* Event: Card reader status (Class a) */
  SIM_USAT_TP6_LANG_SEL          = 0x1,           /* Event: Language Selection (Class 3) */
  SIM_USAT_TP6_BROWS_TERM        = 0x2,           /* Event: Browser Termination (Class c) */
  SIM_USAT_TP6_DATA_AVAIL        = 0x4,           /* Event: Data available (Class e) */
  SIM_USAT_TP6_CHANNEL_STAT      = 0x8,           /* Event: Channel status (Class e) */
  SIM_USAT_TP6_ACT_CHNG          = 0x10,          /* Event: Access Technology Change */
  SIM_USAT_TP6_DISP_PARAM_CHNG   = 0x20,          /* Event: Display parameters changed */
  SIM_USAT_TP6_LOCAL_CONN        = 0x40,          /* Event: Local Connection        */
  SIM_USAT_TP6_8_RFU             = 0x80,          /* RFU, bit = 0                   */
  SIM_USAT_TP7_PW_ON_CD          = 0x1,           /* Proactive UICC: Power on Card (Class a) */
  SIM_USAT_TP7_PW_OFF_CD         = 0x2,           /* Proactive UICC: Power off Card (Class a) */
  SIM_USAT_TP7_PF_CD_ADPU        = 0x4,           /* Proactive UICC: Perform Card ADPU (Class a) */
  SIM_USAT_TP7_GET_CDR_STATUS    = 0x8,           /* Proactive UICC: Get Reader Status (Class a) */
  SIM_USAT_TP7_GET_CDR_ID        = 0x10,          /* Proactive UICC: GET READER STATUS (Card reader */
  SIM_USAT_TP7_6_RFU             = 0x20,          /* RFU, bit = 0                   */
  SIM_USAT_TP7_7_RFU             = 0x40,          /* RFU, bit = 0                   */
  SIM_USAT_TP7_8_RFU             = 0x80,          /* RFU, bit = 0                   */
  SIM_USAT_TP8_TMNG_ST           = 0x1,           /* Proactive UICC: Timer Management (start, stop) (Class 3) */
  SIM_USAT_TP8_TMNG_VAL          = 0x2,           /* Proactive UICC: Timer Management (get current value) (Class 3) */
  SIM_USAT_TP8_PLI_DTT           = 0x4,           /* Proactive UICC: Provide Local Information (date, time, tz) (Class 3) */
  SIM_USAT_TP8_GET_INKEY_SUPP    = 0x8,           /* Bit = 1 if GET INKEY is supported */
  SIM_USAT_TP8_IDLE_TXT          = 0x10,          /* Proactive UICC: Set up Idle Mode Text (Class 3) */
  SIM_USAT_TP8_AT_CMD            = 0x20,          /* Proactive UICC: Run AT command (Class b) */
  SIM_USAT_TP8_SETUP_CALL_SUPP   = 0x40,          /* Bit = 1 if SETUP CALL is supported */
  SIM_USAT_TP8_CC                = 0x80,          /* Bit = 1 if Call Control by USIM is supported */
  SIM_USAT_TP9_DSPL_TXT_SUPP     = 0x1,           /* Bit = 1 if DISPLAY TEXT is supported */
  SIM_USAT_TP9_SEND_DTMF         = 0x2,           /* Send DTMF Command (Class 3)    */
  SIM_USAT_TP9_PLI_NMR_SUPP      = 0x4,           /* Bit = 1 if Proactive UICC: PROVIDE LOCAL INFORMATION (NMR) is supported */
  SIM_USAT_TP9_PLI_LANG          = 0x8,           /* Proactive UICC: Provide Local Information (Language)  */
  SIM_USAT_TP9_PLI_TIMING_ADV    = 0x10,          /* Proactive UICC: Provide Local Information (Timing Adv ance)  */
  SIM_USAT_TP9_LANG_NOTIFY       = 0x20,          /* Proactive UICC: Language Notification (Class 3) */
  SIM_USAT_TP9_LAUNCH_BROWSER    = 0x40,          /* Proactive UICC: Launch Browser (Class c) */
  SIM_USAT_TP9_PLI_ACT           = 0x80,          /* Proactive UICC: PROVIDE LOCAL INFORMATION (Access Technology) */
  SIM_USAT_TP10_SFTKEY_SEL_ITEM  = 0x1,           /* Soft key support for SELECT ITEM */
  SIM_USAT_TP10_SFTKEY_SETUP_MENU = 0x2,          /* Soft key support for SET UP MENU */
  SIM_USAT_TP10_3_RFU            = 0x4,           /* RFU, bit = 0                   */
  SIM_USAT_TP10_4_RFU            = 0x8,           /* RFU, bit = 0                   */
  SIM_USAT_TP10_5_RFU            = 0x10,          /* RFU, bit = 0                   */
  SIM_USAT_TP10_6_RFU            = 0x20,          /* RFU, bit = 0                   */
  SIM_USAT_TP10_7_RFU            = 0x40,          /* RFU, bit = 0                   */
  SIM_USAT_TP10_8_RFU            = 0x80,          /* RFU, bit = 0                   */
  SIM_USAT_TP11_MAX_NR_SFTKEY    = 0xff,          /* Maximum number of soft keys available */
  SIM_USAT_TP12_OPEN_CHANNEL     = 0x1,           /* Proactive UICC: OPEN CHANNEL (Class e) */
  SIM_USAT_TP12_CLOSE_CHANNEL    = 0x2,           /* Proactive UICC: CLOSE CHANNEL (Class e) */
  SIM_USAT_TP12_RECEIVE_DATA     = 0x4,           /* Proactive UICC: RECEIVE DATA (Class e) */
  SIM_USAT_TP12_SEND_DATA        = 0x8,           /* Proactive UICC: SEND DATA (Class e) */
  SIM_USAT_TP12_GET_CHANNEL_STAT = 0x10,          /* Proactive UICC: GET CHANNEL STATUS (Class e) */
  SIM_USAT_TP12_SERVICE_SEARCH   = 0x20,          /* Proactive UICC: SERVICE SEARCH */
  SIM_USAT_TP12_GET_SERV_INF     = 0x40,          /* Proactive UICC: GET SERVICE INFORMATION */
  SIM_USAT_TP12_DECLARE_SERVICE  = 0x80,          /* Proactive UICC: DECLARE SERVICE */
  SIM_USAT_TP13_CSD_SUPP_BY_ME   = 0x1,           /* CSD supported by ME (Class e)  */
  SIM_USAT_TP13_GPRS_SUPP_BY_ME  = 0x2,           /* GPRS supported by ME (Class e) */
  SIM_USAT_TP13_BT_SUPP_BY_ME    = 0x4,           /* Bluetooth supported by terminal */
  SIM_USAT_TP13_IRDA_SUPP_BY_ME  = 0x8,           /* IrDA supported by terminal     */
  SIM_USAT_TP13_RS232_SUPP_BY_ME = 0x10,          /* RS232 supported by terminal    */
  SIM_USAT_TP13_NR_OF_CHAN_SUPP  = 0xe0,          /* Number of channels supported by ME (Class e) bit 6, 7 and 8 */
  SIM_USAT_TP14_NR_OF_CHAR_DSPL_DWN = 0x1f,       /* Number of characters supported down the ME display */
  SIM_USAT_TP14_SCRN_SIZE_PARAM  = 0x80,          /* Screen sizing parameters supported by ME */
  SIM_USAT_TP15_NR_OF_CHAR_DSPL_ACRS = 0x7f,      /* Number of characters supported across the ME display */
  SIM_USAT_TP15_VAR_SIZE_FONT    = 0x80,          /* Variable size fonts supported  */
  SIM_USAT_TP16_DSPL_RESIZE      = 0x1,           /* Display can be resized         */
  SIM_USAT_TP16_TEXT_WRAP        = 0x2,           /* Text wrapping supported        */
  SIM_USAT_TP16_TEXT_SCROLL      = 0x4,           /* Text scrolling supported       */
  SIM_USAT_TP16_TEXT_ATTR_       = 0x8,           /* Text Attributes supported      */
  SIM_USAT_TP16_5_RFU            = 0x10,          /* RFU, bit = 0                   */
  SIM_USAT_TP16_WIDTH_RDCT_MENU  = 0xe0,          /* Width reduction when in Menu   */
  SIM_USAT_TP17_BEARER_IND_SUPP_TCP = 0x1,        /* Bearer independent protocol supported TCP (Class e) */
  SIM_USAT_TP17_BEARER_IND_SUPP_UDP = 0x2,        /* Bearer independent protocol supported UPD (Class e) */
  SIM_USAT_TP17_3_RFU            = 0x4,           /* RFU, bit = 0                   */
  SIM_USAT_TP17_4_RFU            = 0x8,           /* RFU, bit = 0                   */
  SIM_USAT_TP17_5_RFU            = 0x10,          /* RFU, bit = 0                   */
  SIM_USAT_TP17_6_RFU            = 0x20,          /* RFU, bit = 0                   */
  SIM_USAT_TP17_7_RFU            = 0x40,          /* RFU, bit = 0                   */
  SIM_USAT_TP17_8_RFU            = 0x80,          /* RFU, bit = 0                   */
  SIM_USAT_TP18_DISPL_TXT_VAR_TIM_OUT = 0x1,      /* Proactive UICC: DISPLAY TEXT (Variable Time out) */
  SIM_USAT_TP18_GET_INKEY_HELP_W_WAIT = 0x2,      /* Proactive UICC: GET INKEY (help is supported while waiting for immediate response or variable timeout) */
  SIM_USAT_TP18_USB_SUPP         = 0x4,           /* USB supported by ME            */
  SIM_USAT_TP18_GET_INKEY_VAR_TIM_OUT = 0x8,      /* Proactive UICC: GET INKEY (Variable Timeout) */
  SIM_USAT_TP18_PLI_ESN          = 0x10,          /* Proactive UICC: PROVIDE LOCAL INFORMATION (ESN) */
  SIM_USAT_TP18_CC_ON_GPRS       = 0x20,          /* Call control on GPRS           */
  SIM_USAT_TP18_7_RFU            = 0x40,          /* RFU, bit = 0                   */
  SIM_USAT_TP18_8_RFU            = 0x80,          /* RFU, bit = 0                   */
  SIM_USAT_TP19_PROT_VERS        = 0xf,           /* Protocol version coded as TIA/EIA 136-123 */
  SIM_USAT_TP20_TIA_EIA_IS_820   = 0xff,          /* Reserved by TIA/EIA/IS-820     */
  SIM_USAT_TP28_ALIGN_LEFT_SUPP  = 0x1,           /* Alignment left supported by Terminal */
  SIM_USAT_TP28_ALIGN_CENTER_SUPP = 0x2,          /* Alignment center supported by Terminal */
  SIM_USAT_TP28_ALIGN_RIGHT_SUPP = 0x4,           /* Alignment right supported by Terminal */
  SIM_USAT_TP28_FONT_SIZE_NORM_SUPP = 0x8,        /* Font size normal supported by Terminal */
  SIM_USAT_TP28_FONT_SIZE_LARGE_SUPP = 0x10,      /* Font size large supported by Terminal */
  SIM_USAT_TP28_FONT_SIZE_SMALL_SUPP = 0x20,      /* Font size small supported by Terminal */
  SIM_USAT_TP28_7_RFU            = 0x40,          /* RFU, bit = 0                   */
  SIM_USAT_TP28_8_RFU            = 0x80,          /* RFU, bit = 0                   */
  SIM_USAT_TP29_STYLE_NORM_SUPP  = 0x1,           /* Style normal supported by Terminal */
  SIM_USAT_TP29_STYLE_BOLD_SUPP  = 0x2,           /* Style bold supported by Terminal */
  SIM_USAT_TP29_STYLE_ITALIC_SUPP = 0x4,          /* Style italic supported by Terminal */
  SIM_USAT_TP29_STYLE_UNDERLINE_SUPP = 0x8,       /* Style underlined supported by Terminal */
  SIM_USAT_TP29_STYLE_STRK_THROUGH_SUPP = 0x10,   /* Style strikethrough supported by Terminal */
  SIM_USAT_TP29_STYLE_FORGRND_CLR_SUPP = 0x20,    /* Style text foreground colour supported by Terminal */
  SIM_USAT_TP29_STYLE_BCKGRND_CLR_SUPP = 0x40,    /* Style text background colour supported by Terminal */
  SIM_USAT_TP29_8_RFU            = 0x80           /* RFU, bit = 0                   */
}T_SIM_VAL_umts_stk_pro_file;
#endif

/*
 * Enum to value table VAL_source
 * CCDGEN:WriteEnum_Count==1116
 */
#ifndef __T_SIM_VAL_source__
#define __T_SIM_VAL_source__
typedef enum
{
  SIM_SRC_MMI                    = 0x0,           /* from man machine interface     */
  SIM_SRC_MM                     = 0x1,           /* from mobility management       */
  SIM_SRC_SMS                    = 0x2            /* from short message service     */
}T_SIM_VAL_source;
#endif

/*
 * Enum to value table VAL_smsr_mem_cap
 * CCDGEN:WriteEnum_Count==1117
 */
#ifndef __T_SIM_VAL_smsr_mem_cap__
#define __T_SIM_VAL_smsr_mem_cap__
typedef enum
{
  SIM_SMSR_DISABLE               = 0x0,           /* EF(SMSR) disabled on SIM       */
  SIM_SMSR_ENABLE                = 0x1            /* EF(SMSR) enabled on SIM        */
}T_SIM_VAL_smsr_mem_cap;
#endif

/*
 * Enum to value table VAL_sw1
 * CCDGEN:WriteEnum_Count==1118
 */
#ifndef __T_SIM_VAL_sw1__
#define __T_SIM_VAL_sw1__
typedef enum
{
  SIM_SW1_SUCCESS                = 0x90,          /* normal ending of the command: SW2 = '00' */
  SIM_SW1_SUCCESS_EXTRA_INF      = 0x91,          /* ditto, with extra data from proactiv SIM for ME: SW2 = lgth */
  SIM_SW1_DATA_LGTH_BY_ERR       = 0x9e,          /* SW2 gives the length of respose in case of SIM downl. error */
  SIM_SW1_SUCCESS_DATA_AVAIL     = 0x9f,          /* SW2 gives the length of (SIM) response data */
  SIM_SW1_SAT_BUSY               = 0x93,          /* no command execution now, further normal commands allowed */
  SIM_SW1_MEMORY_MANAGEMENT      = 0x92,          /* two cases possible depending on SW2 */
  SIM_SW1_REFRNCG_MANAGEMENT     = 0x94,          /* four cases possible depending on SW2 */
  SIM_SW1_SECURTY_MANAGEMENT     = 0x98,          /* six cases possible depending on SW2 */
  SIM_SW1_ERR_INCORRECT_P3       = 0x67,          /* incorrect parameter P3         */
  SIM_SW1_ERR_INCOR_P1_OR_P2     = 0x6b,          /* incorrect parameter P1 or P2   */
  SIM_SW1_ERR_UNKNOWN_INSTR      = 0x6d,          /* unknown instruction code given in the command */
  SIM_SW1_ERR_INSTR_CLA          = 0x6e,          /* wrong instruction class given in the command */
  SIM_SW1_ERR_DIAG_OR_AUTHEN     = 0x6f,          /* technical problem with no diagnostic given */
  SIM_SW2_NORMAL                 = 0x0,           /* normal ending of the command (SW1 = '00') */
  SIM_SW2_256_BYTES_LGTH         = 0x0,           /* SW2 gives the lengths of 256 bytes of information */
  SIM_SW2_MEMORY_PROBLEM         = 0x40,          /* memory problem: in connection with SW1 = '92' */
  SIM_SW2_NO_EF_SELECTED         = 0x2,           /* no elementary file selected: in connection with SW1 = '94' */
  SIM_SW2_OUT_OF_RANGE           = 0x2,           /* invalid adress: in connection with SW1 = '94' */
  SIM_SW2_FILE_ID_PATT_NFOUND    = 0x4,           /* file ID or pattern not found: in connection with SW1 = '94' */
  SIM_SW2_FILE_INCON_WTH_CMD     = 0x8,           /* file inconsistent with cmd: in connection with SW1 = '94' */
  SIM_SW2_NO_CHV_INIT            = 0x2,           /* no CHV initialized: in connection with SW1 = '98' */
  SIM_SW2_ACC_FAIL               = 0x4,           /* in connection with SW1 = '98': (1) acces condition not fullfilled; (2) CHV verify unsuccessful, at least one attempt left; (3) UNBLOCK CHV verify unsuccessful, at least one attempt left; (4) authentication failed */
  SIM_SW2_CNTR_TO_CHV_STAT       = 0x8,           /* in contradiction with CHV status: in conn. with SW1 = '98' */
  SIM_SW2_CNTR_TO_INVALID_STAT   = 0x10,          /* in contradiction with invalidation status: in conn. with SW1 = '98' */
  SIM_SW2_ACC_FAIL_NO_ATTEMTP    = 0x40,          /* in connection with SW1 = '98': (1) CHV verify unsuccessful, no attempt left; (2) UNBLOCK CHV verify unsuccessful, no attempt left; (3) CHV blocked; (4) UNBLOCK CHV blocked */
  SIM_SW2_NO_INCREASE_PERF       = 0x50           /* increase cannot be performed, Max value reached: in conn. with SW1 = '98' */
}T_SIM_VAL_sw1;
#endif

/*
 * Enum to value table VAL_synccs
 * CCDGEN:WriteEnum_Count==1119
 */
#ifndef __T_SIM_VAL_synccs__
#define __T_SIM_VAL_synccs__
typedef enum
{
  SIM_SYNC_START_CALL            = 0x1,           /* Start present checks if needed during calls */
  SIM_SYNC_STOP_CALL             = 0x2,           /* Stop present checks if running */
  SIM_SYNC_DEACTIVATE            = 0x3            /* Deactivate SIM card            */
}T_SIM_VAL_synccs;
#endif

/*
 * Enum to value table VAL_release_time
 * CCDGEN:WriteEnum_Count==1120
 */
#ifndef __T_SIM_VAL_release_time__
#define __T_SIM_VAL_release_time__
typedef enum
{
  SIM_NO_AUTO_RELEASE            = 0x0            /* do not use release timer       */
}T_SIM_VAL_release_time;
#endif

/*
 * Enum to value table VAL_cla
 * CCDGEN:WriteEnum_Count==1121
 */
#ifndef __T_SIM_VAL_cla__
#define __T_SIM_VAL_cla__
typedef enum
{
  SIM_GSM_CLASS                  = 0xa0           /* GSM instruction class          */
}T_SIM_VAL_cla;
#endif

/*
 * Enum to value table VAL_ins_code
 * CCDGEN:WriteEnum_Count==1122
 */
#ifndef __T_SIM_VAL_ins_code__
#define __T_SIM_VAL_ins_code__
typedef enum
{
  SIM_INS_SELECT                 = 0xa4,          /* Select Instruction             */
  SIM_INS_STATUS                 = 0xf2,          /* Status Instruction             */
  SIM_INS_READ_BINARY            = 0xb0,          /* Read Binary Instruction        */
  SIM_INS_UPDATE_BINARY          = 0xd6,          /* Update Binary Instruction      */
  SIM_INS_READ_RECORD            = 0xb2,          /* Read Record Instruction        */
  SIM_INS_UPDATE_RECORD          = 0xdc,          /* Update Record Instruction      */
  SIM_INS_SEEK                   = 0xa2,          /* Seek Instruction               */
  SIM_INS_INCREASE               = 0x32,          /* Increase Instruction           */
  SIM_INS_VERIFY_CHV             = 0x20,          /* Verify Chv Instruction         */
  SIM_INS_CHANGE_CHV             = 0x24,          /* Change Chv Instruction         */
  SIM_INS_DISABLE_CHV            = 0x26,          /* Disable Chv Instruction        */
  SIM_INS_ENABLE_CHV             = 0x28,          /* Ensable Chv Instruction        */
  SIM_INS_UNBLOCK_CHV            = 0x2c,          /* Unblock Chv Instruction        */
  SIM_INS_INVALIDATE             = 0x4,           /* Invalidate Instruction         */
  SIM_INS_REHABILITATE           = 0x44,          /* Rehabilitate Instruction       */
  SIM_INS_RUN_GSM_ALGTH          = 0x88,          /* Run GSM Algorithm Instruczion  */
  SIM_INS_GET_RESPONSE           = 0xc0,          /* Get Response Instruction       */
  SIM_INS_TERMINAL_PROFILE       = 0x10,          /* Terminal Profile Instruction   */
  SIM_INS_ENVELOPE               = 0xc2,          /* Envelope Instruction           */
  SIM_INS_FETCH                  = 0x12,          /* Fetch Instruction              */
  SIM_INS_TERMINAL_RESPONSE      = 0x14           /* Terminal Response Instruction  */
}T_SIM_VAL_ins_code;
#endif

/*
 * Enum to value table VAL_sim_sec_cap
 * CCDGEN:WriteEnum_Count==1123
 */
#ifndef __T_SIM_VAL_sim_sec_cap__
#define __T_SIM_VAL_sim_sec_cap__
typedef enum
{
  SIM_GSM_SEC                    = 0x0,           /* GSM AKA only  (GSM SIM Inserted) */
  SIM_GSM_GPRS_SEC               = 0x1,           /* Both GSM and GPRS AKA available (GSM SIM Inserted) */
  SIM_UMTS_SEC                   = 0x2,           /* Neither service 27 nor 38 is enabled (UMTS SIM inserted) */
  SIM_UMTS_SEC_GSM_ACCESS_ENABLED = 0x3,          /* Service 27 is enabled (UMTS SIM inserted) */
  SIM_UMTS_SEC_GSM_SEC_ENABLED   = 0x4            /* Both service 27 and 38 is enabled (UMTS SIM inserted) */
}T_SIM_VAL_sim_sec_cap;
#endif

/*
 * Enum to value table VAL_inf_type
 * CCDGEN:WriteEnum_Count==1124
 */
#ifndef __T_SIM_VAL_inf_type__
#define __T_SIM_VAL_inf_type__
typedef enum
{
  SIM_SAT_MEAS_BCCH_LIST         = 0x1,           /* Measurement report and BCCH channel list */
  SIM_SAT_TIMING_ADV             = 0x2            /* Timing advance                 */
}T_SIM_VAL_inf_type;
#endif

/*
 * Enum to value table VAL_me_service
 * CCDGEN:WriteEnum_Count==1125
 */
#ifndef __T_SIM_VAL_me_service__
#define __T_SIM_VAL_me_service__
typedef enum
{
  SIM_ME_NO_SERVICE              = 0x0,           /* No Service                     */
  SIM_ME_LIMITED_SERVICE         = 0x1,           /* Limited Service                */
  SIM_ME_NORMAL_SERVICE          = 0x2            /* Normal Service                 */
}T_SIM_VAL_me_service;
#endif

/*
 * Enum to value table VAL_me_status
 * CCDGEN:WriteEnum_Count==1126
 */
#ifndef __T_SIM_VAL_me_status__
#define __T_SIM_VAL_me_status__
typedef enum
{
  SIM_ME_STATUS_IDLE             = 0x0,           /* ME in idle                     */
  SIM_ME_STATUS_NOT_IDLE         = 0x1            /* ME not in idle                 */
}T_SIM_VAL_me_status;
#endif

/*
 * Enum to value table VAL_cust_mode
 * CCDGEN:WriteEnum_Count==1127
 */
#ifndef __T_SIM_VAL_cust_mode__
#define __T_SIM_VAL_cust_mode__
typedef enum
{
  SIM_SIM_CUST_MODE_NORM         = 0x0,           /* Normal Behaviour               */
  SIM_SIM_CUST_MODE_1            = 0x1            /* Customisation Value 1          */
}T_SIM_VAL_cust_mode;
#endif

/*
 * Enum to value table VAL_user_accepts
 * CCDGEN:WriteEnum_Count==1128
 */
#ifndef __T_SIM_VAL_user_accepts__
#define __T_SIM_VAL_user_accepts__
typedef enum
{
  SIM_SIM_USER_REJECTS           = 0x0,           /* User Rejected                  */
  SIM_SIM_USER_ACCEPTS           = 0x1            /* User Accepted                  */
}T_SIM_VAL_user_accepts;
#endif

/*
 * Enum to value table VAL_pin_key_reference
 * CCDGEN:WriteEnum_Count==1129
 */
#ifndef __T_SIM_VAL_pin_key_reference__
#define __T_SIM_VAL_pin_key_reference__
typedef enum
{
  SIM_PIN_1_KEY_REFERENCE_1      = 0x1,           /* Key reference 1 used to represent PIN 1 */
  SIM_PIN_1_KEY_REFERENCE_2      = 0x2,           /* Key reference 2 used to represent PIN 1 */
  SIM_PIN_1_KEY_REFERENCE_3      = 0x3,           /* Key reference 3 used to represent PIN 1 */
  SIM_PIN_1_KEY_REFERENCE_4      = 0x4,           /* Key reference 4 used to represent PIN 1 */
  SIM_PIN_1_KEY_REFERENCE_5      = 0x5,           /* Key reference 5 used to represent PIN 1 */
  SIM_PIN_1_KEY_REFERENCE_6      = 0x6,           /* Key reference 6 used to represent PIN 1 */
  SIM_PIN_1_KEY_REFERENCE_7      = 0x7,           /* Key reference 7 used to represent PIN 1 */
  SIM_PIN_1_KEY_REFERENCE_8      = 0x8,           /* Key reference 8 used to represent PIN 1 */
  SIM_PIN_1_UNIVERSAL_KEY_REFERENCE = 0x11,       /* Key Reference used to represent universal PIN as PIN 1 */
  SIM_PIN_2_KEY_REFERENCE_1      = 0x81,          /* Key reference 1 used to represent PIN 2 */
  SIM_PIN_2_KEY_REFERENCE_2      = 0x82,          /* Key reference 2 used to represent PIN 2 */
  SIM_PIN_2_KEY_REFERENCE_3      = 0x83,          /* Key reference 3 used to represent PIN 2 */
  SIM_PIN_2_KEY_REFERENCE_4      = 0x84,          /* Key reference 4 used to represent PIN 2 */
  SIM_PIN_2_KEY_REFERENCE_5      = 0x85,          /* Key reference 5 used to represent PIN 2 */
  SIM_PIN_2_KEY_REFERENCE_6      = 0x86,          /* Key reference 6 used to represent PIN 2 */
  SIM_PIN_2_KEY_REFERENCE_7      = 0x87,          /* Key reference 7 used to represent PIN 2 */
  SIM_PIN_2_KEY_REFERENCE_8      = 0x88,          /* Key reference 8 used to represent PIN 2 */
  SIM_PIN_1_GSM_KEY_REFERENCE    = 0x1,           /* key reference used to represent GSM SIM PIN 1  */
  SIM_PIN_2_GSM_KEY_REFERENCE    = 0x2,           /* key reference used to represent GSM SIM PIN 2  */
  SIM_PIN_KEY_REFERENCE_NOT_SET  = 0xff           /* If the referred key does not have a key reference set. */
}T_SIM_VAL_pin_key_reference;
#endif

/*
 * Enum to value table VAL_mm_info_type
 * CCDGEN:WriteEnum_Count==1130
 */
#ifndef __T_SIM_VAL_mm_info_type__
#define __T_SIM_VAL_mm_info_type__
typedef enum
{
  SIM_SAT_LOCATION_INFO          = 0x0,           /* SIM Application Toolkit requires Location Information */
  SIM_SAT_RAT_INFO               = 0x1            /* SIM Application Toolkit requires current used RAT */
}T_SIM_VAL_mm_info_type;
#endif

/*
 * user defined constants
 */
#define SIM_MAX_DATA                   (0xff)
#define SIM_MAX_STK_CMD                (0x100)
#define SIM_MAX_SIM_CMD                (0x100)
#define SIM_MAX_FILE_ID                (0x40)
#define SIM_MAX_STK_PRF                (0x14)
#define SIM_MAX_UMTS_STK_PRF           (0x1d)
#define SIM_MAX_SRV_TBL                (0x16)
#define SIM_MAX_LNG_PREF               (0x5)
#define SIM_MAX_ECC                    (0xf)
#define SIM_MAX_PREF_PLMN              (0xfc)
#define SIM_MAX_KC                     (0x8)
#define SIM_MAX_LOCIGPRS               (0xe)
#define SIM_MAX_RAND                   (0x10)
#define SIM_MAX_APPID                  (0x10)
#define SIM_MAX_PLMNwACT               (0xa0)
#define SIM_PS_LOCI_SIZE               (0xe)
#define SIM_HFN_SIZE                   (0x6)
#define SIM_THRESHOLD_SIZE             (0x3)
#define SIM_KEYSET_SIZE                (0x21)
#define SIM_MAX_KEY_SIZE               (0x10)
#define SIM_MAX_AUTN_SIZE              (0x10)
#define SIM_MAX_RES_SIZE               (0x10)
#define SIM_MAX_AUTS_SIZE              (0xe)
#define SIM_MNC_OFFSET_EFAD            (0x3)
#define SIM_MAX_APN_SIZE               (0xff)
#define SIM_MAX_NET_PAR_SIZE           (0xda)
#define SIM_MAX_APP_SUPPORTED          (0x5)
#define SIM_MAX_APP_DO_SIZE            (0x36)
#define SIM_ICCID_LENGTH               (0xa)
#define SIM_CAL_KC_SIZE                (0x8)
#define SIM_SRES_SIZE                  (0x4)
#define SIM_MAX_PIN_LEN                (0x8)
#define SIM_CLASS_E_BUFFER_SIZE        (0x5dc)
#define SIM_IMSI_SIZE                  (0x9)
#define SIM_ACC_SIZE                   (0x2)
#define SIM_BCCH_SIZE                  (0x10)
#define SIM_CKSN_SIZE                  (0x1)
#define SIM_FPLMN_SIZE                 (0xff)
#define SIM_GSM_KEY_SET_SIZE           (0x9)
#define SIM_CS_LOCI_SIZE               (0xb)
#define SIM_PIN_SIZE                   (0x8)
#define SIM_PUK_SIZE                   (0x8)
#define SIM_MAX_SIM_TRANSP             (0x106)
#define SIM_MAX_SIM_ATR                (0x21)
#define SIM_NMR_SIZE                   (0x11)
#define SIM_BCCH_CHAN_LIST_SIZE        (0x28)
#define SIM_MAX_SIM_PLMN_SIZE          (0x3)
#define SIM_MAX_TRMST                  (0x8)
#define SIM_MAX_CBMID_SIZE             (0xff)

// #include "CDG_LEAVE.h"


#endif

